﻿<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" id="viewport" name="viewport">
{include file="list_seo_title" /}
{include file="zp_include" /}
</head>
<body>
{include file="zp_header" /}
<div class="main list-s">
<div class="list-l"><a href="{:getlistname(3,'list_url')}" class="cur">最近更新</a> <a sign="no" href="{:getlistname(3,'list_url')}">影院热映</a></div>
</div>
<div class="list-nav">
<div class="main">
    <div class="list-nav-s">
        <div class="list-nav-s-l">分类索引<h4 class="name aleft"></h4></div>
        <div class="list-nav-s-r"><span><a class="conreset" href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>"",'area'=>"",'year'=>"",'letter'=>"",'order'=>"",'p'=>""))}">重置条件</a><p class="conbread"></p></div>
    </div>
</div>
<div class="list-fen">
    <div class="main">
        <ul class="selectList">  
        {php}$array_listid = getlistall($list_pid);{/php}
            {if condition="(!empty($array_list)) or (!empty($array_listid))"}
            <li id="first_list"><!--分类-->
            <div class="con" id="firsts_list_p" >
                {notempty name="array_listid"}
                <a {eq name="list_pid" value="0"}class="cur"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">全部</a>
                {volist name="array_listid" id="zplist"}
                <a {eq name="list_id" value="$zplist.list_id"}class="cur"{/eq} href="{$zplist.list_url}">{$zplist.list_name}</a>
                {/volist}
                {else /}
                <a {eq name="list_pid" value="0"}class="cur"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">全部</a>
                {volist name="array_list" id="zplist"}
                <a {eq name="list_id" value="$zplist.list_id"}class="cur"{/eq} href="{$zplist.list_url}">{$zplist.list_name}</a>{/volist}    
                {/notempty}
            </div>
            </li>
            {/if}        
            <li id="mcid_list"><!--类型-->
            <div class="con" id="firsts_list_p">
                <a {empty name="param.mcid"}class="cur"{/empty} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>"",'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">全部</a>
                {volist name="mcatlist" id="cat_menu" offset="0" length='100'}
                <a {eq name="cat_menu.m_cid" value="$param['mcid']"}class="cur"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$cat_menu['m_cid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">{$cat_menu.m_name}</a>
                {/volist}
            </div>
            </li>
            <li id="second_list"><!--地区-->
                <div class="con" id="second_list_p">
                    <a rel="nofollow" {empty name="param.area"}class="cur"{/empty} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>"",'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">全部</a>
                    {volist name="s_area" id="area" offset="0" length='100'}
                    <a {eq name="area" value="$param['area']"}class="cur"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($area),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))} ">{$area}</a>
                    {/volist}
                </div>
            </li>
            <li id="year_list">  
                <div class="con"  id="third_list_p">
                    <a rel="nofollow" {empty name="param.year"}class="cur"{/empty} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>"",'letter'=>$param['letter'],'order'=>$param['order']))}">全部</a>
                    {volist name="s_year" id="year" offset="0" length='19'}
                    <a {eq name="year" value="$param['year']"}class="cur"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$year,'letter'=>$param['letter'],'order'=>$param['order']))}">{$year}</a>
                    {/volist}
                    <a {eq name="u_year" value="1990,1999"}class="cur"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>"1990,1999",'letter'=>$param['letter'],'order'=>$param['order']))}">90年代</a>
                    <a {eq name="u_year" value="1980,1989"}class="cur"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>"1980,1989",'letter'=>$param['letter'],'order'=>$param['order']))}">80年代</a>
                    <a {eq name="u_year" value="1900,1980"}class="cur"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>"1900,1980",'letter'=>$param['letter'],'order'=>$param['order']))}">更早</a>  
                </div>
            </li>      
            <li id="letter_list">
                <div class="con" id="third_list_p">
                    <p><a rel="nofollow" {empty name="param.letter"}class="cur"{/empty} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>"",'order'=>$param['order']))}">全部</a>
                    {volist name="s_letter" id="letter"}
                    <a rel="nofollow" href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$letter,'order'=>$param['order']))}" {eq name="letter" value="$param['letter']"}class="cur"{/eq}>{$letter}</a>{/volist}
                    <a {eq name="u_letter" value="0,1,2,3,4,5,6,7,8,9"}class="cur"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>"0,1,2,3,4,5,6,7,8,9",'order'=>$param['order']))}">0-9</a></p>
                </div>
            </li>
        </ul>
    </div>
</div>
</div>
{php}    
    if($param[order]){
        $s_order=$param[order]." desc";
    }else{
        $s_order="addtime desc";
    }
    $vod_list=zanpian_mysql_vod('mcid:'.$param['mcid'].';cid:'.$list_id.';year:'.$param[year].';letter:'.$param[letter].';area:'.$param[area].';language:'.$param[language].';field:vod_id,vod_cid,vod_name,vod_director,vod_letters,vod_pic,vod_gold,vod_continu,vod_title,vod_total,vod_actor,vod_mcid,vod_year,vod_addtime,vod_content;limit:30;page:true;p:'.$list_page.';cahce_name:default;cahce_time:600;order:vod_'.$s_order.';');
{/php}
<div class="main top" style="margin-top:15px;">
    <div class="list_ico">
        <a href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>'addtime'))}" {php} if($param[order]=="") echo "class='cur'"; else if($param[order]=="addtime") echo "class='cur'"; else echo "class=''"{/php}><i class="iconfont">&#xe616;</i>最新</a><a href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>'hits'))}" {php} if($param[order]=="hits") {echo "class='cur'";}else{echo "class=''";}{/php}><i class="iconfont">&#xe61b;</i>人气</a><a href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>'gold'))}" {php} if($param[order]=="gold") {echo "class='cur'";}else{echo "class=''";}{/php}><i class="iconfont">&#xe61a;</i>评分</a>
    </div>
    <div class="ui-pages fn-right">{$pagetop}</div>
</div>

<div class="main top">
    <div class="list_vod">
        <ul class="list_tab_img" id="vod_list">
            {volist name="vod_list" id="zanpian"}
            <li>
                <a href="{$zanpian.vod_readurl}" title="{$zanpian.vod_name}" target="_blank"><div class="picsize"><img class="loading" src="{$apicss}mstyle/images/220x307.jpg" data-original="{$zanpian.vod_picurl}" alt="{$zanpian.vod_name}"/><label class="score">{$zanpian.vod_gold}</label>{neq name="zanpian.vod_continu" value="0"}<label class="status"></label><label class="title">{$zanpian.vod_title}</label>{else/}{notempty name="zanpian.vod_total"}<label class="title">{$zanpian.vod_total}</label>{else/}<label class="title">{$zanpian.vod_title}</label>{/notempty}{/neq}</div></a>
                <h2><a href="{$zanpian.vod_readurl}" target="_blank">{$zanpian.vod_name}</a></h2>
                <p>地区:{$zanpian.vod_area}</p>
                <p>类型:{$zanpian.vod_mcid|mcat_url=$zanpian['vod_cid'],4}</p>
                <p>主演:{$zanpian.vod_actor}</p>
            </li>
            {/volist}
        </ul>
    </div>
</div>
<div class="uipages" id="long-page"><ul class="pagination"><span class="total">共{$vod_list.0.page.pagecount}条数据&nbsp;页次:{$vod_list.0.page.currentpage}/{$vod_list.0.page.totalpage}页</span>{$vod_list.0.page.pageurl}</ul></div> 
{include file="zp_footer" /}
<script type="text/javascript" src="{$apicss}mstyle/js/list.min.js"></script>
</body>
</html>